<template xmlns="http://www.w3.org/1999/html">
  <sea-data-table ref="tableObject" url="/sys/log/login/page">
    <!--表头-->
    <sea-table-header slot="header">
      <!--标题栏-->
      <sea-table-title slot="title" title="登录日志" subtitle=""></sea-table-title>

    </sea-table-header>

    <!--表头-->
    <template slot="columns">
      <el-table-column property="channel" label="登录通道" width="180"></el-table-column>
      <el-table-column property="userName" label="用户名称" width="180"></el-table-column>
      <el-table-column property="userId" label="用户ID" width="180"></el-table-column>
      <el-table-column property="remote" label="登录IP" width="180"></el-table-column>
      <el-table-column property="userAgent" label="客户代理"></el-table-column>
      <el-table-column property="gmtCreate" label="创建日期" width="180"></el-table-column>
    </template>
  </sea-data-table>
</template>

<script>
/**
 *
 * 系统访问日志
 */
export default {
    components: {},
    methods: {
        /**
         * 操作栏事件分发
         * @param evt 事件
         * @param row 行级对象
         * @param old 可供回滚的参数
         */
        onAction: function (evt, row, old) {
        }
    }
}
</script>
